# -*- coding:utf-8 -*-
# @Time : 2020/8/31 8:17
# @Author : Administrator
# @File : forms.py
# @Software: PyCharm
# @Motto: good good study,day day up

from django import forms
from apps.operation.models import UserFavorite, CourseComments


class UserFavForm(forms.ModelForm):
    class Meta:
        model = UserFavorite
        fields = ["fav_id", "fav_type"]


class CommentForm(forms.ModelForm):
    class Meta:
        model = CourseComments
        fields = ["course", "comments"]
